home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2005 October / PCWOCT05.iso / Software / FromTheMag / Syn Text Editor 2.1.0.46 / synsetup-2.1.0.46.exe / {app} / tools / execdde.txt < prev    next >
Text File  |  2003-10-30  |  2KB  |  79 lines

  1. execdde Version 1.02
  2. --------------------
  3.  
  4. Copyright (C) 2002-2003, Ascher Stefan
  5.  
  6.  
  7. Contents:
  8. ---------
  9.  
  10.   * License
  11.   * Introduction
  12.   * Commandline Arguments
  13.   * Exit Codes
  14.   * Compiling
  15.   * Files
  16.   
  17.  
  18. License:
  19. --------
  20.  
  21. This Program is distributed under the terms of the GNU General Public License
  22. Version 2 (the "GPL"), see the license.txt file for further informations.
  23.  
  24.  
  25. Introduction:
  26. -------------
  27.  
  28. This is a small Commandline Tool to execute DDE (Dynamic Data Exchange) commands.
  29.  
  30.  
  31. Commandline Arguments
  32. ---------------------
  33.  
  34. usage: 
  35.   execdde [-p <program> [-d <dir>]] [-o <timeout>] [-w <wait>] -s <server> [-t <topic>] -c <command1[...n]>
  36.  
  37. parameters:
  38.   program : Program filename, e.g. acrord32.exe
  39.   dir     : Workingdirectory for the program, e.g.
  40.             D:\Programme\Adobe\Acrobat 5.0\Reader
  41.   timeout : Timeout in ms, default 5000 (5 sec.)
  42.   wait    : Time to wait between commands in ms (optional), default 0
  43.   server  : The DDE server, e.g. "acroview"
  44.   topic   : The topic, e.g. "control"
  45.   commands: The commands to execute, e.g. [DocOpen("file.pdf")]
  46.  
  47. example:
  48.    execdde -p acrord32.exe -s acroview -t control -c [DocOpen("file.pdf")] [FileOpen("file.pdf")]
  49.  
  50. If the server is not already running and a program filename is provided, it will
  51. start it.
  52.  
  53. As ever, arguments containing spaces must be enclosed in quotes.
  54.  
  55.  
  56. Exit Codes:
  57. -----------
  58.  
  59. 0: No Error
  60. 1: No or wrong Arguments, No Commands or No Server
  61. 2: DdeInitialize failed
  62. 3: DdeConnect failed
  63. 4: DdeClientTransaction failed
  64.  
  65.  
  66. Compiling:
  67. ----------
  68.  
  69. This program has been compiled successfully with VC++ 6, Borlands BCC 5.5 and
  70. MinGW32/GCC 3.2, which has been used to compile the distributed program.
  71.  
  72. ________________________________________________________________________________
  73.  
  74. Best wishes Stefan
  75.  
  76. stievie@utanet.at
  77. http://web.utanet.at/ascherst/
  78.  
  79.